package cn.itcast.daggerdemo;

/**
 * Created by Administrator on 2016/8/4.
 */
public class DaggerPresenter {

    private MainActivity mainActivity;

    public DaggerPresenter(MainActivity mainActivity) {
        this.mainActivity = mainActivity;
    }

    public <Data> void setData(Data data) {

        mainActivity.setContentData(data);
    }
}
